package cn.ycms.service.impl;



import javax.annotation.Resource;

import org.hibernate.SessionFactory;
import org.springframework.transaction.annotation.Transactional;


import cn.ycms.bean.Adminuser;
import cn.ycms.dao.bean.AdminuserDao;
import cn.ycms.service.AdminuserService;
@Transactional
public class AdminuserServiceI implements AdminuserService{
	@Resource private AdminuserDao adminuserDao;

//	 AdminuserDao adminuserDao;
	
	public void save() {
	
		// TODO Auto-generated method stub
		System.out.print("2");
		Adminuser adminuser=new Adminuser("11", "22", "33");
		System.out.print("3");
		adminuserDao.saveOrUpdate(adminuser);
		System.out.print("4");
		
	}

}
